package org.devocean.groupbuying.dao;

import java.util.List;

import org.devocean.groupbuying.domain.PaypalPayment;

public interface PaypalPaymentDAO {

	List<PaypalPayment> findAllPaypalPayments();

	void deletePaypalPayment(int id);

	PaypalPayment savePaypalPayment(PaypalPayment paypalDealPayment);

	PaypalPayment findPaypalPaymentById(int id);

	PaypalPayment findPaypalPaymentByPurchaseItemId(Integer id);

	PaypalPayment updatePaypalPayment(PaypalPayment paypalPayment);

	long countPartner();

}
